package cn.hzc.fortess.system.service;

import cn.hzc.fortess.system.entity.SettingBean;
import cn.hzc.fortess.system.page.Pagination;
import cn.hzc.fortess.system.search.SettingSearch;


public interface SettingService {

    void add(SettingBean entity);

    void update(SettingBean entity);

    void delete(Integer id);

    SettingBean getById(Integer id);

    Pagination getPage(SettingSearch search);

    String getValByKey(String key);

    String getValByKey(String key,String defVal);


    SettingBean getByKey(String key);


}
